home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / inspector / inIDOMView.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  9KB  |  216 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM inIDOMView.idl
  3.  */
  4.  
  5. #ifndef __gen_inIDOMView_h__
  6. #define __gen_inIDOMView_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMNode; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    inIDOMView */
  21. #define INIDOMVIEW_IID_STR "3eb4c760-dffd-4983-94a8-18bcb99100e4"
  22.  
  23. #define INIDOMVIEW_IID \
  24.   {0x3eb4c760, 0xdffd, 0x4983, \
  25.     { 0x94, 0xa8, 0x18, 0xbc, 0xb9, 0x91, 0x00, 0xe4 }}
  26.  
  27. class NS_NO_VTABLE inIDOMView : public nsISupports {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(INIDOMVIEW_IID)
  31.  
  32.   /* attribute nsIDOMNode rootNode; */
  33.   NS_IMETHOD GetRootNode(nsIDOMNode * *aRootNode) = 0;
  34.   NS_IMETHOD SetRootNode(nsIDOMNode * aRootNode) = 0;
  35.  
  36.   /* attribute boolean showAnonymousContent; */
  37.   NS_IMETHOD GetShowAnonymousContent(PRBool *aShowAnonymousContent) = 0;
  38.   NS_IMETHOD SetShowAnonymousContent(PRBool aShowAnonymousContent) = 0;
  39.  
  40.   /* attribute boolean showSubDocuments; */
  41.   NS_IMETHOD GetShowSubDocuments(PRBool *aShowSubDocuments) = 0;
  42.   NS_IMETHOD SetShowSubDocuments(PRBool aShowSubDocuments) = 0;
  43.  
  44.   /* attribute boolean showWhitespaceNodes; */
  45.   NS_IMETHOD GetShowWhitespaceNodes(PRBool *aShowWhitespaceNodes) = 0;
  46.   NS_IMETHOD SetShowWhitespaceNodes(PRBool aShowWhitespaceNodes) = 0;
  47.  
  48.   /* attribute unsigned long whatToShow; */
  49.   NS_IMETHOD GetWhatToShow(PRUint32 *aWhatToShow) = 0;
  50.   NS_IMETHOD SetWhatToShow(PRUint32 aWhatToShow) = 0;
  51.  
  52.   /* nsIDOMNode getNodeFromRowIndex (in long rowIndex); */
  53.   NS_IMETHOD GetNodeFromRowIndex(PRInt32 rowIndex, nsIDOMNode **_retval) = 0;
  54.  
  55.   /* long getRowIndexFromNode (in nsIDOMNode node); */
  56.   NS_IMETHOD GetRowIndexFromNode(nsIDOMNode *node, PRInt32 *_retval) = 0;
  57.  
  58.   /* void rebuild (); */
  59.   NS_IMETHOD Rebuild(void) = 0;
  60.  
  61. };
  62.  
  63. /* Use this macro when declaring classes that implement this interface. */
  64. #define NS_DECL_INIDOMVIEW \
  65.   NS_IMETHOD GetRootNode(nsIDOMNode * *aRootNode); \
  66.   NS_IMETHOD SetRootNode(nsIDOMNode * aRootNode); \
  67.   NS_IMETHOD GetShowAnonymousContent(PRBool *aShowAnonymousContent); \
  68.   NS_IMETHOD SetShowAnonymousContent(PRBool aShowAnonymousContent); \
  69.   NS_IMETHOD GetShowSubDocuments(PRBool *aShowSubDocuments); \
  70.   NS_IMETHOD SetShowSubDocuments(PRBool aShowSubDocuments); \
  71.   NS_IMETHOD GetShowWhitespaceNodes(PRBool *aShowWhitespaceNodes); \
  72.   NS_IMETHOD SetShowWhitespaceNodes(PRBool aShowWhitespaceNodes); \
  73.   NS_IMETHOD GetWhatToShow(PRUint32 *aWhatToShow); \
  74.   NS_IMETHOD SetWhatToShow(PRUint32 aWhatToShow); \
  75.   NS_IMETHOD GetNodeFromRowIndex(PRInt32 rowIndex, nsIDOMNode **_retval); \
  76.   NS_IMETHOD GetRowIndexFromNode(nsIDOMNode *node, PRInt32 *_retval); \
  77.   NS_IMETHOD Rebuild(void); 
  78.  
  79. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  80. #define NS_FORWARD_INIDOMVIEW(_to) \
  81.   NS_IMETHOD GetRootNode(nsIDOMNode * *aRootNode) { return _to GetRootNode(aRootNode); } \
  82.   NS_IMETHOD SetRootNode(nsIDOMNode * aRootNode) { return _to SetRootNode(aRootNode); } \
  83.   NS_IMETHOD GetShowAnonymousContent(PRBool *aShowAnonymousContent) { return _to GetShowAnonymousContent(aShowAnonymousContent); } \
  84.   NS_IMETHOD SetShowAnonymousContent(PRBool aShowAnonymousContent) { return _to SetShowAnonymousContent(aShowAnonymousContent); } \
  85.   NS_IMETHOD GetShowSubDocuments(PRBool *aShowSubDocuments) { return _to GetShowSubDocuments(aShowSubDocuments); } \
  86.   NS_IMETHOD SetShowSubDocuments(PRBool aShowSubDocuments) { return _to SetShowSubDocuments(aShowSubDocuments); } \
  87.   NS_IMETHOD GetShowWhitespaceNodes(PRBool *aShowWhitespaceNodes) { return _to GetShowWhitespaceNodes(aShowWhitespaceNodes); } \
  88.   NS_IMETHOD SetShowWhitespaceNodes(PRBool aShowWhitespaceNodes) { return _to SetShowWhitespaceNodes(aShowWhitespaceNodes); } \
  89.   NS_IMETHOD GetWhatToShow(PRUint32 *aWhatToShow) { return _to GetWhatToShow(aWhatToShow); } \
  90.   NS_IMETHOD SetWhatToShow(PRUint32 aWhatToShow) { return _to SetWhatToShow(aWhatToShow); } \
  91.   NS_IMETHOD GetNodeFromRowIndex(PRInt32 rowIndex, nsIDOMNode **_retval) { return _to GetNodeFromRowIndex(rowIndex, _retval); } \
  92.   NS_IMETHOD GetRowIndexFromNode(nsIDOMNode *node, PRInt32 *_retval) { return _to GetRowIndexFromNode(node, _retval); } \
  93.   NS_IMETHOD Rebuild(void) { return _to Rebuild(); } 
  94.  
  95. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  96. #define NS_FORWARD_SAFE_INIDOMVIEW(_to) \
  97.   NS_IMETHOD GetRootNode(nsIDOMNode * *aRootNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRootNode(aRootNode); } \
  98.   NS_IMETHOD SetRootNode(nsIDOMNode * aRootNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRootNode(aRootNode); } \
  99.   NS_IMETHOD GetShowAnonymousContent(PRBool *aShowAnonymousContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowAnonymousContent(aShowAnonymousContent); } \
  100.   NS_IMETHOD SetShowAnonymousContent(PRBool aShowAnonymousContent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowAnonymousContent(aShowAnonymousContent); } \
  101.   NS_IMETHOD GetShowSubDocuments(PRBool *aShowSubDocuments) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowSubDocuments(aShowSubDocuments); } \
  102.   NS_IMETHOD SetShowSubDocuments(PRBool aShowSubDocuments) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowSubDocuments(aShowSubDocuments); } \
  103.   NS_IMETHOD GetShowWhitespaceNodes(PRBool *aShowWhitespaceNodes) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowWhitespaceNodes(aShowWhitespaceNodes); } \
  104.   NS_IMETHOD SetShowWhitespaceNodes(PRBool aShowWhitespaceNodes) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowWhitespaceNodes(aShowWhitespaceNodes); } \
  105.   NS_IMETHOD GetWhatToShow(PRUint32 *aWhatToShow) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWhatToShow(aWhatToShow); } \
  106.   NS_IMETHOD SetWhatToShow(PRUint32 aWhatToShow) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWhatToShow(aWhatToShow); } \
  107.   NS_IMETHOD GetNodeFromRowIndex(PRInt32 rowIndex, nsIDOMNode **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNodeFromRowIndex(rowIndex, _retval); } \
  108.   NS_IMETHOD GetRowIndexFromNode(nsIDOMNode *node, PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRowIndexFromNode(node, _retval); } \
  109.   NS_IMETHOD Rebuild(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Rebuild(); } 
  110.  
  111. #if 0
  112. /* Use the code below as a template for the implementation class for this interface. */
  113.  
  114. /* Header file */
  115. class inDOMView : public inIDOMView
  116. {
  117. public:
  118.   NS_DECL_ISUPPORTS
  119.   NS_DECL_INIDOMVIEW
  120.  
  121.   inDOMView();
  122.  
  123. private:
  124.   ~inDOMView();
  125.  
  126. protected:
  127.   /* additional members */
  128. };
  129.  
  130. /* Implementation file */
  131. NS_IMPL_ISUPPORTS1(inDOMView, inIDOMView)
  132.  
  133. inDOMView::inDOMView()
  134. {
  135.   /* member initializers and constructor code */
  136. }
  137.  
  138. inDOMView::~inDOMView()
  139. {
  140.   /* destructor code */
  141. }
  142.  
  143. /* attribute nsIDOMNode rootNode; */
  144. NS_IMETHODIMP inDOMView::GetRootNode(nsIDOMNode * *aRootNode)
  145. {
  146.     return NS_ERROR_NOT_IMPLEMENTED;
  147. }
  148. NS_IMETHODIMP inDOMView::SetRootNode(nsIDOMNode * aRootNode)
  149. {
  150.     return NS_ERROR_NOT_IMPLEMENTED;
  151. }
  152.  
  153. /* attribute boolean showAnonymousContent; */
  154. NS_IMETHODIMP inDOMView::GetShowAnonymousContent(PRBool *aShowAnonymousContent)
  155. {
  156.     return NS_ERROR_NOT_IMPLEMENTED;
  157. }
  158. NS_IMETHODIMP inDOMView::SetShowAnonymousContent(PRBool aShowAnonymousContent)
  159. {
  160.     return NS_ERROR_NOT_IMPLEMENTED;
  161. }
  162.  
  163. /* attribute boolean showSubDocuments; */
  164. NS_IMETHODIMP inDOMView::GetShowSubDocuments(PRBool *aShowSubDocuments)
  165. {
  166.     return NS_ERROR_NOT_IMPLEMENTED;
  167. }
  168. NS_IMETHODIMP inDOMView::SetShowSubDocuments(PRBool aShowSubDocuments)
  169. {
  170.     return NS_ERROR_NOT_IMPLEMENTED;
  171. }
  172.  
  173. /* attribute boolean showWhitespaceNodes; */
  174. NS_IMETHODIMP inDOMView::GetShowWhitespaceNodes(PRBool *aShowWhitespaceNodes)
  175. {
  176.     return NS_ERROR_NOT_IMPLEMENTED;
  177. }
  178. NS_IMETHODIMP inDOMView::SetShowWhitespaceNodes(PRBool aShowWhitespaceNodes)
  179. {
  180.     return NS_ERROR_NOT_IMPLEMENTED;
  181. }
  182.  
  183. /* attribute unsigned long whatToShow; */
  184. NS_IMETHODIMP inDOMView::GetWhatToShow(PRUint32 *aWhatToShow)
  185. {
  186.     return NS_ERROR_NOT_IMPLEMENTED;
  187. }
  188. NS_IMETHODIMP inDOMView::SetWhatToShow(PRUint32 aWhatToShow)
  189. {
  190.     return NS_ERROR_NOT_IMPLEMENTED;
  191. }
  192.  
  193. /* nsIDOMNode getNodeFromRowIndex (in long rowIndex); */
  194. NS_IMETHODIMP inDOMView::GetNodeFromRowIndex(PRInt32 rowIndex, nsIDOMNode **_retval)
  195. {
  196.     return NS_ERROR_NOT_IMPLEMENTED;
  197. }
  198.  
  199. /* long getRowIndexFromNode (in nsIDOMNode node); */
  200. NS_IMETHODIMP inDOMView::GetRowIndexFromNode(nsIDOMNode *node, PRInt32 *_retval)
  201. {
  202.     return NS_ERROR_NOT_IMPLEMENTED;
  203. }
  204.  
  205. /* void rebuild (); */
  206. NS_IMETHODIMP inDOMView::Rebuild()
  207. {
  208.     return NS_ERROR_NOT_IMPLEMENTED;
  209. }
  210.  
  211. /* End of implementation class template. */
  212. #endif
  213.  
  214.  
  215. #endif /* __gen_inIDOMView_h__ */
  216.